package com.yinhai.mycat_test.service.read.impl;

import com.yinhai.mycat_test.entity.IDCard;
import com.yinhai.mycat_test.mapper.read.IDReadMapper;
import com.yinhai.mycat_test.service.read.IDCardReadService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class IDCardReadServiceImpl implements IDCardReadService {

    @Resource
    IDReadMapper idReadMapper;
    @Override
    public List<IDCard> queryAllIDCard() {
        return idReadMapper.queryAllIDCard();
    }

    @Override
    public IDCard queryIDCardById(Long id) {
        return idReadMapper.queryIDCardById(id);
    }



    @Override
    public List<IDCard> queryIDCardLike02(String address) {
        return idReadMapper.queryIDCardLike02(address);
    }

    @Override
    public Integer queryIDCardCount() {
        return idReadMapper.queryIDCardCount();
    }
}
